package com.last.controller;

import com.last.service.ICityTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/springTask")
public class SpringTaskController {
    @Autowired
    private ICityTaskService cityService;

    @RequestMapping("/getCity")
    public void getCityIncludeArea(){
        cityService.selectCityIncludeArea();
    }
}
